﻿using DongFangGuoKai.WMSPlatform.Core.Repository;
using DongFangGuoKai.WMSPlatform.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.BasicApp.Station
{
    public class StationService : IStationService
    {
        public StationService(IRepository<TStation> stationRepo)
        {
            StationRepo = stationRepo;
        }
        public IRepository<TStation> StationRepo { get; }


        public TStation GetStationBySid(int id)
        {
            return StationRepo.Get(x => x.WhId == id);
        }




    }
}
